<nb-card>
  <nb-card-header>
    条件筛选
  </nb-card-header>
  <nb-card-body>
    <input nbInput class="margin" type="text" placeholder="地址编号" [(ngModel)]="filterLocationNo">
    <input nbInput class="margin" type="text" placeholder="地址名称" [(ngModel)]="filterLocationName">
    <button nbButton class="margin" status="info" (click)="filter()">搜索</button>
  </nb-card-body>
</nb-card>
<nb-card>
  <nb-card-header>
    地区档案
  </nb-card-header>

  <nb-card-body>
    <button nbButton status="info" size="small" (click)="openAddPrompt()">增加</button>
    <ng2-smart-table [settings]="settings" [source]="source" (deleteConfirm)="onDeleteConfirm($event)"
                     (editConfirm)="onEditConfirm($event)">
    </ng2-smart-table>
  </nb-card-body>
  <nb-card-footer>
  </nb-card-footer>
</nb-card>
